/*
 * @Author: 啊彪
 * @Date: 2022-03-25 15:40:32
 * @LastEditors: 啊彪
 * @LastEditTime: 2022-03-25 16:11:11
 * @Description:
 * @FilePath: \fkxzg\src\model\active\consdiamond.model.ts
 */
import * as mongoose from 'mongoose';
const Schema = mongoose.Schema;
const ConsDiamondSchema: mongoose.Schema = new Schema({
    roleId: { type: Number, display: '角色ID', index: true },
    nickName: { type: String, display: '角色昵称' },
    serverId: { type: Number, display: '服务器ID' },
    num: { type: Number, display: '数量' },
    content: { type: Array, display: '内容' }
})

const ConsDiamond = mongoose.model('ConsDiamond', ConsDiamondSchema);
export default ConsDiamond;
